Important points:

(1) We must enter proper values in property file called build.properties
	
(2)  Below are the ant targets that can be run:

'email.aborted' This Target emails the number and details of aborted Processes.

'monitor.server' This Target Monitors the server state and email if any server is not running

'terminate.aborted' This Target terminates the aborted process from the Domain  

(3) Steps to run 

    (i)	Open a command prompt and set the environment by running <BEA_HOME>\weblogic92\server\bin\setWLSEnv.cmd 	
    (ii)Go to directory which has build.xml and run the following command. 
    	ant email.aborted
    	ant monitor.server
    	ant terminate.aborted
    	

(4) You can have these script run in any OS schedular as per your requirement. ant monitor.server should beb run every 5 minutes so that required people can be notified
whenever server is down.

(5) ant email.aborted can be run once in a day so that support team can be notified of aborted instances and take appropriate action after looking into the log files.
	
	
(6) ant terminate.aborted can be run only when it is needed.	